<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<script src="js/vue.js"></script>
	</head>
	<body>
		<div id="app">
			<button @click="width=width+width*0.1,higth=higth+higth*0.1">放大10%</button>
			<button @click="width=width-width*0.1,higth=higth-higth*0.1">缩小10%</button>
			<img :width="width" :height="higth" src="img/t03.jpg" alt="">
		</div>
		<script>
			Vue.createApp({
				data(){
					return{
						width:200,
						higth:200
					}
				}
			}).mount('#app')
		</script>
	</body>
</html>